<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>数据拷出表单</title>
    <link rel="stylesheet" href="../static/css/reset.css">
    <link rel="stylesheet" href="../static/plus/eleme.css">
    <link rel="stylesheet" href="../static/css/style_xia.css">
</head>
<body>
<div id="app" class="copy-data">
    <mt-header fixed title="数据拷出表单">
        <mt-button slot="left" icon="back" @click="goBack"></mt-button>
        <mt-button slot="right" icon="more" @click="sheetVisible = true;"></mt-button>
    </mt-header>
    <section class="content">
        <div class="item">
            <label class="label" for="">申请人：</label>
            <input class="text" type="text" placeholder="请输入申请人">
        </div>
        <div class="item">
            <label class="label" for="">使用单位：</label>
            <input class="text" type="text" placeholder="请输入使用单位">
        </div>
        <div class="item-big">
            <label class="label" for="">拷出理由：</label>
            <textarea class="text" name="" id="" cols="30" rows="5" placeholder="请输入拷出理由"></textarea>
        </div>
        <div class="item-big">
            <label class="label" for="">数据内容：</label>
            <textarea class="text" name="" id="" cols="30" rows="5" placeholder="请输入数据内容"></textarea>
        </div>
        <div class="item-big">
            <label class="label" for="">数据范围、数量：</label>
            <textarea class="text" name="" id="" cols="30" rows="5" placeholder="请输入数据范围和数量"></textarea>
        </div>
        <div class="item">
            <label class="label" for="">格式：</label>
            <input class="text" type="text" placeholder="请输入格式">
        </div>
        <div class="item">
            <label class="label" for="">文件大小：</label>
            <input class="text" type="text" placeholder="请输入文件大小">
        </div>
        <div class="item-big">
            <label class="label" for="">备注：</label>
            <textarea class="text" name="" id="" cols="30" rows="5" placeholder="备注"></textarea>
        </div>
        <div class="send-btn">
            <button class="btn">提交</button>
        </div>

        <!--active sheet-->
        <mt-actionsheet
                :actions="actions"
                v-model="sheetVisible"
                close-on-click-modal>
        </mt-actionsheet>
    </section>
    <v-footer></v-footer>
    <div class="loading" v-show="isShow">
        <mt-spinner :type="0" :size="60"></mt-spinner>
    </div>
</div>
</body>
<script src="../static/plus/vue.js"></script>
<script src="../static/plus/eleme.js"></script>
<script src="../static/js/common.js"></script>
<script>
    window.onload = function () {
        var vm = new Vue({
            el: '#app',
            data:{
                isShow:true,
                sheetVisible:false,
                actions:[],
                isShowBtnModel: false,
            },
            methods:{
                goBack() {
                  history.go(-1)
                },
                getBtnCode(index) {
                    console.log('点击了第' + index + '个按钮');
                }
            },
            created() {

            },
            mounted() {
                setSectionHeight();
                this.isShow = false;
                this.actions = [
                    {name: '保存', method: this.getBtnCode},
                    {name: '提交', method: this.getBtnCode},
                    {name: '终止', method: this.getBtnCode},
                    {name: '查看流程图', method: this.getBtnCode},
                    {name: '删除', method: this.getBtnCode},
                    {name: '完成', method: this.getBtnCode}
                ]
            }
        })
    }
</script>
</html>